<div class="layui-body">
    <!-- 主体区域开始 -->
    <!--当前位置开始-->
    <div class="layui-card layadmin-header">
        <span class="layui-breadcrumb">
            <a href="{:url('Index/index')}">系统</a>
            <a><cite>系统设置</cite></a>
        </span>
    </div>
    <!--当前位置结束-->
    <div class="layui-row">
        <div id="main">
            <form class="layui-form">
                <div class="layui-form-item">
                    <label class="layui-form-label">网站标题</label>
                    <div class="layui-input-block">
                        <input type="text" name="title" value="{$data.title}" required lay-verify="required" lay-reqText="请输入网站标题" placeholder="请输入网站标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">关键字</label>
                    <div class="layui-input-block">
                        <input type="text" name="keywords" value="{$data.keywords}" lay-reqText="请输入关键字"  placeholder="请输入关键字" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">描述</label>
                    <div class="layui-input-block">
                        <textarea name="represent" class="layui-textarea" placeholder="请输入描述内容">{$data.represent}</textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">品牌名</label>
                    <div class="layui-input-block">
                        <input type="text" name="brand" value="{$data.brand}" required lay-verify="required" lay-reqText="请输入品牌名" placeholder="请输入品牌名" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">根网址</label>
                    <div class="layui-input-block">
                        <input type="text" name="host" value="{$data.host}" required lay-verify="required" lay-reqText="请输入根网址，请勿以斜杠结尾" placeholder="请输入根网址" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">LOGO</label>
                    <div class="layui-input-block">
                        <button type="button" class="layui-btn layui-btn-primary" id="upload">
                            <i class="layui-icon layui-icon-upload-drag"></i>上传LOGO图片
                        </button>
                        <input type="hidden" value="{$data.logo}" name="logo" id="litPic">
                        <img src="{$data.logo}" id="imgShow" class="uploadImg {$data.logo ? '' : 'layui-hide'}"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">版权</label>
                    <div class="layui-input-block">
                        <input type="text" name="copyright" value="{$data.copyright}" lay-reqText="请输入版权"  placeholder="请输入版权" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备案号</label>
                    <div class="layui-input-block">
                        <input type="text" name="icp" value="{$data.icp}" lay-reqText="请输入备案号"  placeholder="请输入备案号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">电话</label>
                    <div class="layui-input-block">
                        <input type="text" name="tel" value="{$data.tel}" lay-reqText="请输入电话"  placeholder="请输入电话" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">微信</label>
                    <div class="layui-input-block">
                        <input type="text" name="we_chat" value="{$data.we_chat}" lay-reqText="请输入微信"  placeholder="请输入微信" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">QQ</label>
                    <div class="layui-input-block">
                        <input type="text" name="qq" value="{$data.qq}" lay-reqText="请输入QQ"  placeholder="请输入QQ" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="hidden" name="request_url" value="{:url('System/data_save')}">
                        <input type="hidden" name="id" value="{$data.id}">
                        <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--主体区域结束-->
</div>